#include"stl_vecotr.h"


void test1()
{
	//my_vector::vector<int>v(5,5);
	//v.push_back(1);
	//v.push_back(2);
	//v.push_back(3);
	//v.push_back(4);
	//v.push_back(5);
	//v.push_back(6);
	//v.push_back(7);
	//v.push_back(8);
	//v.print();
	//auto it = v.begin();
	//it=v.insert(it, 0);
	//v.insert(it, 0);
	//v.print();
	//it += 3;
	//v.erase(it);
	//v.print();
	//v.erase(it);
	//v.print();
	//v.resize(20);
	/*int a[] = {1,2,3,4,5,6,7,8};
	//my_vector::vector<int>v1(a, a + 8);
	//v1.print();*/
	// char b[] = "abcdefghijk";
	//my_vector::vector<char>v2(b, b+11);
	//v2.print();

	//my_vector::vector<char>v3(v2);
	//v3.print();

	//my_vector::vector<char>v4 = v3;
	//v4.print();
	int b[] = {1,2,3,4,5,6,7,8};
	my_vector::vector<int>tmp(b, b + 8);
	my_vector::vector<my_vector::vector<int>>v5(5, tmp);
	my_vector::vector<my_vector::vector<int>>v6(v5);
	for (int i = 0; i < 5; i++)
	{
		v6[i].print();
	}
}


int main()
{
	test1();
	return 0;
}